home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / scsum1.z / scsum1
Encoding:
Text File  |  2002-10-03  |  2.2 KB  |  67 lines

  1.  
  2.  
  3.  
  4. SSSSCCCCSSSSUUUUMMMM1111((((3333SSSS))))                                                          SSSSCCCCSSSSUUUUMMMM1111((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      SCSUM1 - take the sum of the absolute values of a complex vector and
  10.      returns a single precision result
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      REAL FUNCTION SCSUM1( N, CX, INCX )
  14.  
  15.          INTEGER   INCX, N
  16.  
  17.          COMPLEX   CX( * )
  18.  
  19. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  20.      These routines are part of the SCSL Scientific Library and can be loaded
  21.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  22.      directs the linker to use the multi-processor version of the library.
  23.  
  24.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  25.      4 bytes (32 bits). Another version of SCSL is available in which integers
  26.      are 8 bytes (64 bits).  This version allows the user access to larger
  27.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  28.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  29.      only one of the two versions; 4-byte integer and 8-byte integer library
  30.      calls cannot be mixed.
  31.  
  32. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  33.      SCSUM1 takes the sum of the absolute values of a complex vector and
  34.      returns a single precision result. Based on SCASUM from the Level 1 BLAS.
  35.      The change is to use the 'genuine' absolute value.
  36.  
  37.      Contributed by Nick Higham for use with CLACON.
  38.  
  39.  
  40. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  41.      N       (input) INTEGER
  42.              The number of elements in the vector CX.
  43.  
  44.      CX      (input) COMPLEX array, dimension (N)
  45.              The vector whose elements will be summed.
  46.  
  47.      INCX    (input) INTEGER
  48.              The spacing between successive values of CX.  INCX > 0.
  49.  
  50. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  51.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  52.  
  53.      This man page is available only online.
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.